projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934f9a6
)
ARM: imx: Call imx_pcie_remove() only for non-DM PCI driver
author
Marek Vasut
<
[email protected]
>
Sun, 9 Jun 2019 01:50:51 +0000
(
03:50
+0200)
committer
Stefano Babic
<
[email protected]
>
Tue, 11 Jun 2019 08:42:48 +0000
(10:42 +0200)
The DM iMX PCI driver has DM_FLAG_OS_PREPARE set and will call
imx_pcie_remove() from the .remove callback. Do not call it from
the architecture code again.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Bin Meng <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/arm/mach-imx/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/cpu.c
b/arch/arm/mach-imx/cpu.c
index 6b83f926623366cda86b14a2ec1c855046ba491a..93e60b2039ad4aeb6cd70bc9ea4b74662f9d9d2a 100644
(file)
--- a/
arch/arm/mach-imx/cpu.c
+++ b/
arch/arm/mach-imx/cpu.c
@@
-285,7
+285,7
@@
u32 get_ahb_clk(void)
void arch_preboot_os(void)
{
-#if defined(CONFIG_PCIE_IMX)
+#if defined(CONFIG_PCIE_IMX)
&& !CONFIG_IS_ENABLED(DM_PCI)
imx_pcie_remove();
#endif
#if defined(CONFIG_SATA)